package com.example.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * ClassName:UserChangePasswordDTO
 * Package:com.example.dto
 * User:HP
 * Date:2025/8/30
 * Time:下午9:39
 * Author 周东汉
 * Version 1.0
 * Description:
 */

@Data
public class UserChangePasswordDTO {

    @NotNull(message = "用户ID不能为空")
    private Long userId;

    @NotBlank(message = "旧密码不能为空")
    private String oldPassword;

    @NotBlank(message = "新密码不能为空")
    private String newPassword;

}
